//
//  BaseModel.h
//  express
//
//  Created by dd on 12/8/14.
//  Copyright (c) 2014 yunqi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BaseModel : NSObject
{
    NSMutableDictionary *_data;
}

- (instancetype)initWithData:(NSDictionary *)data;

- (id)objectForKey:(NSString *)key;
- (id)objectForKeyedSubscript:(NSString *)key;
- (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key;
- (NSString *)stringForKey:(NSString *)key;
- (NSDictionary *)data;
@end
